<%@ page contentType="text/html; charset=utf-8" %>

<%@ include file="/WEB-INF/jsp/includeTaglib.jsp" %>

<table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr class="rowHead">
	
	<c:if test="${adminDivLevelDeep == 2}">
		<td height="20" nowrap align="center" class="globalTextBold">区域</td>
	</c:if>
	
	<c:if test="${adminDivLevelDeep == 3}">
		<td height="20" nowrap align="center" class="globalTextBold">督导</td>
<!-- 		<td height="20" nowrap align="center" class="globalTextBold">辖区</td> -->
	</c:if>
		<td height="20" nowrap align="center" class="globalTextBold">计划巡店数</td>
		<td height="20" nowrap align="center" class="globalTextBold">实际巡店数</td>
		<td height="20" nowrap align="center" class="globalTextBold">巡店执行率</td>
	</tr>
	
	<c:if test="${adminDivLevelDeep == 2}">
		<c:forEach var="tpr" items="${storeVisitingTracks}" varStatus="status">
			<tr class="rowClass">
				<td height="20" class="globalText">
					<a href="<c:url value='/report/storeVisitingTrack/reportList/2/${tpr.adminDivAreaCode}.html' />">${tpr.adminDivAreaName}</a>
				</td>
				<td height="20" class="globalText">${tpr.plannedQuantityOfTask}</td>
				<td height="20" class="globalText">${tpr.actualQuantityOfTask}</td>
				<td height="20" class="globalText">${tpr.percentValueFormatted}</td>
			</tr>
		</c:forEach>
	</c:if>
	
	<c:if test="${adminDivLevelDeep == 3}">
		<c:forEach var="stpr" items="${storeVisitingTracks}" varStatus="status">
			<tr class="rowClass">
				<td height="20" class="globalText">
					<a href="<c:url value='/report/storeVisitingTrack/reportList/3/${stpr.executorEmpId}/${standardAdminDivAreaCode}.html' />">
						${stpr.executorName}<c:if test="${!empty stpr.executorTitle}">(${stpr.executorTitle})</c:if>
					</a>
				</td>
<%-- 				<td height="20" class="globalText">${stpr.adminDivAreaName}</td> --%>
				<td height="20" class="globalText">${stpr.plannedQuantityOfTask}</td>
				<td height="20" class="globalText">${stpr.actualQuantityOfTask}</td>
				<td height="20" class="globalText">${stpr.percentValueFormatted}</td>
			</tr>
		</c:forEach>
	</c:if>

</table>

<%-- <%@ include file="/WEB-INF/jsp/includePagination.jsp"%> --%>


